//
//  RYBaseCellModel.swift
//  App_Profile
//
//  Created by 蒋晨成 on 2022/2/8.
//

import Adaptor
import App_Common_Views
import CloudKit
import Foundation
import UICore
import UIKit

public class RYBaseCellModel: ViewModel {
    public typealias Action = (RYBaseCellModel) -> Void

    private(set) var identifier: String
    public var cellHeight: CGFloat = 56
    var action: Action?
    public var isHiddenIndicator: Bool = false
    public var indexPath: IndexPath?

    public init(cellType: RYBaseCell.Type, action: Action?) {
        identifier = cellType.cellID
        self.action = action
        super.init()
    }
}
